Avoid C99 sinf()
authorHans Breuer <hans@breuer.org>
Sun, 2 Jan 2011 11:10:00 +0000 (12:10 +0100)
committerHans Breuer <hans@breuer.org>
Sun, 2 Jan 2011 12:33:10 +0000 (13:33 +0100)
gtk/gtktimeline.c

index 5550e7d47c72cde8d822a210930c9e3f0c0cc06b..4053da94f859a03843a74a2a39502b2ed68aa47f 100644 (file)
@@ -291,7 +291,7 @@ calculate_progress (gdouble                 linear_progress,
 
       break;
     case GTK_TIMELINE_PROGRESS_EASE:
-      progress = (sinf ((progress - 0.5) * G_PI) + 1) / 2;
+      progress = (sin ((progress - 0.5) * G_PI) + 1) / 2;
       break;
     case GTK_TIMELINE_PROGRESS_EASE_IN:
       progress = pow (progress, 3);